Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: use more appropriate cwe for file permission rules #458

Merged
merged 1 commit into from
Jul 11, 2024

Conversation

didroe
Copy link
Contributor

@didroe didroe commented Jul 10, 2024

Description

Replace CWE-276: Incorrect Default Permissions:

During installation, installed file permissions are set to allow anyone to modify those files.

with CWE-732: Incorrect Permission Assignment for Critical Resource:

The product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors.

Checklist

If this is your first time contributing please sign the CLA

  • My rule has adequate metadata to explain its use.

@didroe didroe requested a review from elsapet July 10, 2024 14:28
@didroe didroe merged commit 4b1294d into main Jul 11, 2024
25 checks passed
@didroe didroe deleted the fix/update-file-permission-cwe branch July 11, 2024 09:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants